package com.lifp.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lifp.entity.SysPermission;

import java.util.List;

public interface SysPermissionMapper extends BaseMapper<SysPermission> {

    /**
     * 根据用户id查询权限列表
     */
    List<SysPermission> selectListByUserId(Long userId);
}